<template>
	<view class="mask">
		<view class="mask__main">
			<view class="main__list">
				<view class="card_bank">
					<view class="card_name" v-show="infobank !== ''">
						{{ $t('mine.banknum') }}：
						<view class="card_num">{{ infobank }}</view>
					</view>
					<view class="card_name">
						{{ $t('mine.market') }}：
						<view class="card_num">{{ info }}</view>
					</view>
				</view>
			</view>
			<view class="main__btn">
				<text class="btn__text" @click.stop="cancleClick">{{$t("uni.showModal.cancel")}}</text>
				<text class="btn__text" @click.stop="enterClick">{{$t("uni.showModal.confirm")}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			info:{
				type:String,
				default:''
			},
			infobank:{
				type:String,
				default:''
			}
		},
		methods:{
			cancleClick(){
				this.$emit("update:isShowEnter", false)
			},
			// 认购点击
			 enterClick(){
				this.$emit("update:isShowEnter", false)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mask{
		@include fixedFullScreen(999);
		@include flexCenter(column);
		.mask__main{
			width: 680rpx;
			background: #1D1F2E;
			border-radius: 20rpx;
			padding: 40rpx 40rpx;
			box-sizing: border-box;
			.main__list{
				width: 100%;
				/* height: 400rpx; */
				word-wrap: break-word;
				color: white;
				.list__item{
					@include flexRowAlign(space-between);
					height: 72rpx;
					font-size: 32rpx;
					color: #FFFFFF;
				}
				.card_name{
					width: 100%;
					display: flex;
				}
			}
			.main__btn{
				margin-top: 40rpx;
				@include flexRowAlign(space-between);
				.btn__text{
					width: 254rpx;
					height: 88rpx;
					background: #161827;
					border-radius: 8rpx;
					font-size: 32rpx;
					font-weight: bold;
					color: #FFFFFF;
					@include flexCenter();
					&:last-child{
						background: #458EF4;
					}
				}
			}
		}
	}
</style>